/**
 * @author (Gruppe G) 
 * @version (04/16/2012)
 */

package ModelLayer;

public class Person
{
    private String name;
    private String address;
    private String postalCode;
    private String city;
    private String phone;
    
    /**
     * Constructor for objects of class Person
     */
    public Person(String newName, String newAddress, String newPostalCode, String newCity, String newPhone)
    {
        name = newName;
        address = newAddress;
        postalCode = newPostalCode;
        city = newCity;
        phone = newPhone;
    }

    /**
     * Get/Set methods for class attributes
     */
    public String getName() 
    { return name; }
    
    public String getAddress() 
    { return address; }
    
    public String getPostalCode() 
    { return postalCode; }
    
    public String getCity() 
    { return city; }
    
    public String getPhone() 
    { return phone; }
    
    public void setName(String data) 
    { name = data; }
    
    public void setAddress(String data) 
    { address = data; }
    
    public void setPostalCode(String data) 
    { postalCode = data; }
    
    public void setCity(String data) 
    { city = data; }
    
    public void setPhone(String data) 
    { phone = data; }        
}
